#define _CRT_SECURE_NO_WARNINGS 1

#include <iostream>
using namespace std;

int main()
{
	int total = 0;
	int temp;

	for (int i = 1; i < 101; i++)
	{
		temp = i * i;
		total += temp;
	}
	cout << "total=" << total << endl;

	system("pause");
	return 0;
}